package com.auxgroup.hr.front.dao.repository;

import com.auxgroup.hr.front.dao.domain.PsJobcodeTbl;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by nitongqian on 2019/1/18.
 */
@Repository
public interface PsJobcodeTblRepository extends
        JpaRepository<PsJobcodeTbl,String>,JpaSpecificationExecutor<PsJobcodeTbl> {

    List<PsJobcodeTbl> findByJobcodeOrderByEffdtDesc(String jobcode);
}
